{% extends 'homepage.html' %}

{% block content %}

 <h2> {{ KNOWL('lfunction.dirichlet_series', title='Dirichlet series') }}</h2>
 <div>\[{{ dirichlet }}\]</div>

 <h2>{{ KNOWL('lfunction.functional_equation',title='Functional equation') }}</h2>

 <div id="functionalEqText">\[{{ functionalequation }}\]</div>
 <div style="margin-left: 5ex">
   {{ KNOWL('lfunction.selbergdata', title="Selberg data") }}: ${{ functionalequationSelberg }}$
</div>

 <h2>{{ KNOWL('lfunction.euler_product', title='Euler product') }}</h2>
 <div>\[{{ eulerproduct }}\]</div>

 {% if factorization is defined %}
 <h2>Factorization</h2>
  <div align="center">
    {{ factorization|safe }} 
  </div>
 {% endif %}

 <h2> Imaginary part of the first few zeroes on the {{ KNOWL('lfunction.critical_line', title='critical line') }}</h2>

 {% if zeroeslink %}
     <div><span id="zeroes"></span></div>
 {% else %}
     <div>Not enough information (Dirichlet series coefficients/sign of the functional equation) to compute zeros.</div>
 {% endif %}

<h2>Particular Values</h2>
{% if sv12 or sv1 %}
      <div>
      {% if sv12 %}
          {{ sv12 }}<br>
      {% endif %}
      {% if sv1 %}
          {% if Ltype=="riemann" or Ltype=="dedekindzeta" %}
              <div align="center">Pole at \(s=1\)</div>
                       <br>
          {% else %}
              {{ sv1 }}<br>
          {% endif %}
      {% endif %}
     </div>
 {% else %}
      <div>Not enough information (Dirichlet series coefficients/sign of the functional equation) to compute special values.</div>
 {% endif %}

    <h2> Graph of the {{ KNOWL('lfunction.zfunction', title='$Z$-function') }} along center part of the {{ KNOWL('lfunction.critical_line', title='critical line') }} </h2>

 {% if plotlink %}
    <img src="{{ plotlink|safe }}" >
 {% else %}
    <div>Not enough information (Dirichlet series coefficients/sign of the functional equation) to make a plot.</div>
 {% endif %}

<script type="text/javascript">
  $(function() {
      $("#zeroes").load("{{ zeroeslink|safe }}");
  });
</script>

{% endblock %}

